package com.xzk.ExpressInnWeb.util;

import com.xzk.ExpressInnWeb.exception.SmsServiceNotAvailableException;

public class SmsUtil {

    public static void sendSMS(String userphone, String code) throws SmsServiceNotAvailableException {
        throw new SmsServiceNotAvailableException("无法提供短信发送服务！无法向手机号" + userphone + "发送验证码！");
    }

    public static boolean loginSMS(String userphone, String code) {
        System.err.println("无法提供短信发送服务，无法向手机号" + userphone + "发送验证码" + code);
        return false;
    }

}
